import request from '@/utils/request'

// 查询辅导员论文发情况列表
export function pubList(query) {
  return request({
    url: '/clr/pub/list',
    method: 'get',
    params: query
  })
}
// 申请论文发情况
export function applyPaperPub(query) {
  return request({
    url: '/clr/pub/applyPaperPub',
    method: 'post',
    data: query
  })
}
// 修改辅导员论文发情况
export function pubUpdata(query) {
  return request({
    url: '/clr/pub',
    method: 'put',
    data: query
  })
}
// 删除辅导员论文发情况
export function pubDel(query) {
  return request({
    url: '/clr/pub/' + query,
    method: 'delete',
  })
}
// 获取辅导员论文发情况详细信息
export function getPub(query) {
  return request({
    url: '/clr/pub/' + query,
    method: 'get',
  })
}
